POST
/
projects
/
{projectId}
/
apiKeys
curl --request POST \
  --url https://partner.peaka.studio/api/v1/projects/{projectId}/apiKeys \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "test"
}'
{
  "name": "test",
  "apiKey": "TtgGcQFq.s3fzROFoop8uHG4pS2LYhoqn1rLb6oW6",
  "apiKeyId": "21fd1a8d-88d5-4295-b792-5b2113138057"
}

Path Parameters

projectId
string
required

Body

application/json
API Key request
name
string

Name of the API key

Response

200 - application/json
API Key created

Represents an API key.

name
string

Name of the API key

apiKey
string

API key. It is a secret and should not be shared. Please store it securely. You will not be able to see it again.

apiKeyId
string

ID of the API key